﻿
using Ninject;

namespace ReAnimation.Helpers.IoC
{
    public class LazyInject<T>: ILazyInject<T>
    {
        private readonly IKernel _kernel;
 
        public LazyInject(IKernel kernel)
        {
            _kernel = kernel;
        }

        public T Get()
        {
            return _kernel.Get<T>();
        }
    }
}
